$OpenBSD: patch-Makefile,v 1.11 2011/03/02 06:59:55 ajacoutot Exp $
--- Makefile.orig	Sat Oct  2 18:21:01 2010
+++ Makefile	Mon Feb 14 07:46:00 2011
@@ -93,16 +93,12 @@ BINMODE = 755
 
 VERSION = 2.3.5
 
-INSTALLROOT ?= $(DESTDIR)$(PREFIX)
+INSTALLROOT ?= ${PREFIX}
 
-ifeq ($(INSTALLROOT),)
-	INSTALLROOT = /usr/local
-endif
-
 INSTALLDIR = $(INSTALLROOT)/bin
-SINSTALLDIR ?= $(INSTALLDIR)
-MANDIR ?= $(INSTALLROOT)/share/man/man1
-SMANDIR ?= $(MANDIR)
+SINSTALLDIR ?= $(INSTALLROOT)/sbin
+MANDIR ?= $(INSTALLROOT)/man/man1
+SMANDIR ?= $(INSTALLROOT)/man/man1
 MANMODE = 644
 MANDIRMODE = 755
 INCLUDEDIR = $(INSTALLROOT)/include
